package xyz.yuanjilu.service;

import xyz.yuanjilu.entity.PushEntity;
import xyz.yuanjilu.utils.Query;

import java.util.List;
import java.util.Map;

/**
 * 推送记录
 * 
 * @author CHENJUNFEI
 * @email kkomge@qq.com
 * @date 2017-07-25 11:29:50
 */
public interface PushService {
	
	PushEntity queryObject(Long id);
	
	List<PushEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(PushEntity push);
	
	void update(PushEntity push);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	List reportList(Map<String, Object> map);

	int reportTotal(Map<String, Object> map);
}
